/*
 * LateFeeBO.java
 *
 * Created on April 5, 2007, 5:31 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Data;

/**
 *
 * @author Justin
 */
public class LateFeeBO extends RevenueSourceBO {
    
    private String id;
    private int DaysLate;
    /** Creates a new instance of LateFeeBO */
    public LateFeeBO(String id) {
        this.id = id;
    }

    public int getDaysLate() {         //gets the number of days late
        return DaysLate;
    }

    public void setDaysLate(int DaysLate) {     //sets the number of days late, calculated from RentalReturnBO
        this.DaysLate = DaysLate;
    }


    public void calculatePrice() {
        double price = super.getPrice();
        super.setPrice(price);
    }
    
}

